<!DOCTYPE html>
<html>
<head>
<title>${data.title} - ${data.category.name} - ${ws.ws_name}</title>
<meta name="description" content="${data.intro} - ${data.title} - ${ws.ws_name}">
<meta name="keywords" content="${data.title},${ws.ws_name},${data.tags}">
<#include "/${ws.cms_respath}/include/common.inc.ftl">
<link rel="stylesheet" href="${basePath}/res/${ws.cms_respath}/style.css" type="text/css" />
<link href="http://cdn.bootcss.com/SyntaxHighlighter/3.0.83/styles/shCoreDefault.min.css" rel="stylesheet">
<body>
	<div class="wrapper sticky_footer">
		<!-- HEADER BEGIN -->
		<#include "/${ws.cms_respath}/include/common.head.ftl">
		<!-- HEADER END -->
        <!-- CONTENT BEGIN -->
        <div id="content" class="right_sidebar">
        	<div class="inner">
            	<div class="general_content">
                	<div class="main_content">
                    	<div class="block_breadcrumbs">
                        	<div class="text"><p>You are here:</p></div>
                            <ul>
                            	<li><a href="${basePath}/">Home</a></li>
                                <li><a href="${basePath}/g/${data.category.code}">${data.category.name}</a></li>
                                <li>${data.title}</li>
                            </ul>
                        </div>
                        <div class="separator" style="height:30px;"></div>
                        
                        <article class="block_single_post">
                        	<!-- <div class="f_pic"><a href="#"><img src="images/pic_blog_post_1.jpg" alt="" /></a></div> -->
                          <p class="title">${data.title}</p>
                            <div class="info">
                                <div class="date"><p>${data.createDate?string("yyyy-MM-dd")}</p></div>
                                <div class="author"><p>By: <a href="#">${data.user.nickname}</a></p></div>
                                    
                            	<div class="r_part">
                                	<div class="category"><p>category: <a href="${basePath}/g/${data.cgId}">${data.category.name}</a></p></div>
                                    <span href="#" class="views">${data.viewCount}</span>
                                    <span class="comments"><span id="sourceId::article${data.id}" class="cy_cmt_count" ></span></span>
                                </div>
                            </div>
                            <div class="content">${data.content}</div>
							<div class="line_3" style="margin:17px 0px 5px;"></div>
                            <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
							<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
                            <div class="line_3" style="margin:4px 0px 23px;"></div>
                            <div class="about_author">
                                <div class="clearboth"></div>
                            </div>
                        </article>
                        <div class="line_2" style="margin:5px 0px 28px;"></div>
                        <div class="block_comments">
							<!--高速版-->
							<!-- 
							<div id="SOHUCS" sid="article${data.id}"></div>
							<script charset="utf-8" type="text/javascript" src="http://changyan.sohu.com/upload/changyan.js" ></script>
							<script type="text/javascript">
							    window.changyan.api.config({
							        appid: 'cyrv6VH1d',
							        conf: 'prod_88c3dfd22c63db442e9da93b5109b162'
							    });
							</script>
							 -->
                        </div>
                    </div>
                    
					<div class="sidebar">
						<div class="block_popular_posts">
							<div id="hm_t_72463"></div>
							<div class="line_2"></div>
						</div>
						<div class="separator" style="height: 31px;"></div>
					</div>
					<div class="clearboth"></div>
				</div>
			</div>
		</div>
		<!-- CONTENT END -->
		<!-- FOOTER BEGIN -->
		<#include "/${ws.cms_respath}/include/common.foot.ftl">
		<!-- FOOTER END -->
	</div>
	<#include "/${ws.cms_respath}/include/common.login.ftl">
	<!-- POPUP END -->
	<script src="http://cdn.bootcss.com/jquery/2.1.3/jquery.js"></script>
	<script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
	<script src="http://cdn.bootcss.com/SyntaxHighlighter/3.0.83/scripts/shCore.min.js"></script>
	<script src="http://cdn.bootcss.com/SyntaxHighlighter/3.0.83/scripts/shAutoloader.min.js"></script>
	<script type="text/javascript">
	$(function(){
		function path() {
		    var args = arguments, result = [];
		    for (var i = 0; i < args.length; i++){
		        result.push(args[i].replace('@', 'http://cdn.bootcss.com/SyntaxHighlighter/3.0.83/scripts/'));
		    }
		    return result
		};
		SyntaxHighlighter.autoloader.apply(null, path(
		        'applescript            @shBrushAppleScript.js',
		        'actionscript3 as3      @shBrushAS3.js',
		        'bash shell             @shBrushBash.js',
		        'coldfusion cf          @shBrushColdFusion.js',
		        'cpp c                  @shBrushCpp.js',
		        'c# c-sharp csharp      @shBrushCSharp.js',
		        'css                    @shBrushCss.js',
		        'delphi pascal          @shBrushDelphi.js',
		        'diff patch pas         @shBrushDiff.js',
		        'erl erlang             @shBrushErlang.js',
		        'groovy                 @shBrushGroovy.js',
		        'java                   @shBrushJava.js',
		        'jfx javafx             @shBrushJavaFX.js',
		        'js jscript javascript  @shBrushJScript.js',
		        'perl pl                @shBrushPerl.js',
		        'php                    @shBrushPhp.js',
		        'text plain             @shBrushPlain.js',
		        'py python              @shBrushPython.js',
		        'ruby rails ror rb      @shBrushRuby.js',
		        'sass scss              @shBrushSass.js',
		        'scala                  @shBrushScala.js',
		        'sql                    @shBrushSql.js',
		        'vb vbnet               @shBrushVb.js',
		        'xml xhtml xslt html    @shBrushXml.js')
		 );
	
		SyntaxHighlighter.all();
	});
	</script>
	<script id="cy_cmt_num" src="http://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyrv6VH1d"></script>
	<script type="text/javascript" src="${basePath}/view/a/${data.id}"></script>
</body>
</html>